export const MenuRoutes = [
    {
        path: '/',
        meta: { title: '首页', icon: 'appstore-filled' },
        children: [
            {
                path: '/',
                meta: { title: '首页', icon: 'appstore-filled' }
            }
        ]
    },
    {
        path: '/user',
        meta: { title: '用户', icon: 'appstore-filled' },
        children: [
            {
                path: '/user',
                name: 'User',
                component: () => import('@/views/user/index.vue'),
                meta: { title: '用户管理', icon: 'appstore-filled' }
            },
            {
                path: '/user1',
                name: 'User1',
                component: () => import('@/views/user/index1.vue'),
                meta: { title: '用户管理1', icon: 'appstore-filled' }
            }
        ]
    },
    {
        path: '/goods',
        redirect: '/goods',
        meta: { title: '商品管理', icon: 'appstore-filled' },
        children: [
            {
                path: '/goods',
                name: 'Goods',
                component: () => import('@/views/goods/index.vue'),
                meta: { title: '商品管理', icon: 'appstore-filled' }
            }
        ]
    },
    {
        path: '/category',
        meta: { title: '分类管理', icon: 'appstore-filled' },
        children: [
            {
                path: '/category',
                name: 'Category',
                component: () => import('@/views/category/index.vue'),
                meta: { title: '分类管理', icon: 'appstore-filled' }
            }
        ]
    },
    {
        path: '/slides',
        redirect: '/slides',
        meta: { title: '轮播管理', icon: 'appstore-filled' },
        children: [
            {
                path: '/slides',
                name: 'Slides',
                component: () => import('@/views/slides/index.vue'),
                meta: { title: '轮播管理', icon: 'appstore-filled' }
            }
        ]
    }
]
